/**
 * Created by obesitychow on 8/20/23
 */

package ai.tuobot.sdk.network

import ai.tuobot.sdk.model.CharacterResponse
import io.reactivex.Observable
import okhttp3.RequestBody
import okhttp3.ResponseBody
import org.json.JSONObject
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

internal interface CharacterApi {
    @GET("characters")
    fun getCharacters(): Observable<CharacterResponse?>

    @POST("voice")
    fun tts(@Body params: RequestBody): Call<ResponseBody>
}